package com.linzp.bishe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.linzp.bishe.entity.Users;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 林泽鹏
 * @since 2021-11-01
 */
public interface UsersService extends IService<Users> {
	/**
	 * @Description 分页查询信息返回
	 * @Param [currentPage, pageSize]
	 * @return java.util.List<com.linzp.bishe.entity.Users>
	 */
	public List<Users> getUserInformation(int currentPage,int pageSize);

	public void updateAdminUser(Users user);

	public Users getByAccountIDUserID(Integer id);

	public <T, K extends IService<T>> void updateName(K k,int id,String newName,boolean ok);
}
